﻿using System.Collections;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using UnityEngine;

public class StringUtil{

    public static string[] Split(string str,string split)
    {
        return str.Split(new string[] { split }, System.StringSplitOptions.None);
    }

    public static string Replace(string str, string oldStr , string newStr)
    {
        return str.Replace(oldStr, newStr);
    }

    public static string ToLower(string str)
    {
        return str.ToLower();
    }

    public static bool Contains(string str,string val)
    {
        return str.Contains(val);
    }
}
